<?php

require '/libs/Slim/Slim.php';
include "models/category_model.php";

$app = new Slim();

$app->get('/categories/:from/:to', 'getCategories');
$app->get('/category/:id',	'getCategory');
/*$app->get('/wines/search/:query', 'findByName');
$app->post('/wines', 'addWine');
$app->put('/wines/:id', 'updateWine');
$app->delete('/wines/:id',	'deleteWine');*/

$app->run();

?>